<?php
/**
 * 数据基础服务配置文件
 * User: xbx
 * Date: 2018/3/1
 * Time: 15:41
 */
return array(
    //TCP配置
    'tcpserver' => array(
        'host' => '127.0.0.1',
        'port' => '9507'
    ),
    //数据库配置
    'db' => array(
        'database_type' => 'mysql',
        'server' => '127.0.0.1',
        'username' => 'root',
 #       'password' => 'Dz20180611!',
        'password' => 'root',
        'database_name' => 'dataserver',
        'charset' => 'utf8',
        'port' => 3306,
        'option' => [
            //PDO:: MYSQL_ATTR_INIT_COMMAND => "set names 'utf8'",
            //PDO:: ATTR_PERSISTENT => true
            PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
        ]
    ),

    //redis配置
    'redis' => array(
        'host' => '127.0.0.1',
        'port' => 6379,
#        'auth' => '2018?0612!Dz',
        'db'=> 0
    ),
    'openKF'=>false,
    'openLocation'=>false,
    'HRserv'=>true,
    'newIn'=>false
);
